----------------------------------------------------------------------------------------------------------------------------------
--[[

    

]]--

----------------------------------------------------------------------------------------------------------------------------------
local hutao_com_inspect_data = Class(function(self, inst)
    self.inst = inst


end)
------------------------------------------------------------------------------------------------------------------------------
--- classified
    function hutao_com_inspect_data:AttachClassified(classified)
        self.classified = classified
        classified:ListenForEvent("hutao_classified_inspect_data_update",function()
            self.inst:PushEvent("hutao_classified_inspect_data_update")
        end)
        print("hutao_com_inspect_data:AttachClassified")
    end
------------------------------------------------------------------------------------------------------------------------------
--- 
    function hutao_com_inspect_data:SetInspectData(data)
        if self.classified ~= nil then
            self.classified:SetInspectData(data)
        end
    end
    function hutao_com_inspect_data:GetInspectData()
        if self.classified ~= nil then
            return self.classified:GetInspectData()
        end
        return {}
    end
------------------------------------------------------------------------------------------------------------------------------
--- 
    function hutao_com_inspect_data:Get(index,default)
        local data = self:GetInspectData()
        return data[index] or default
    end
------------------------------------------------------------------------------------------------------------------------------
return hutao_com_inspect_data







